package com.xzs.demo.service;

import java.util.List;

import com.xzs.demo.entity.UserDao;

public interface UserDaoService {
	int deleteByPrimaryKey(Integer id);

    int insert(UserDao record);

    int insertSelective(UserDao record);

    UserDao selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserDao record);

    int updateByPrimaryKey(UserDao record);
    
    UserDao selectByNameAndPwd(String phone,String pwd);
    List<UserDao> selectAll();
}
